//
// Created by Administrator on 2022/6/15.
//

#ifndef MAINFRAMEH
#define MAINFRAMEH

#include <wx/frame.h>
#include <wx/icon.h>
#include <wx/wx.h>

class NotificationIcon;

class MainFrame : public wxFrame{
public:
    explicit MainFrame(const wxString& title, const wxPoint& pos = wxDefaultPosition,
            const wxSize& size = wxDefaultSize);
    void OnClose(wxCloseEvent& event);
    void OnQuit(wxCommandEvent& event);

protected:
    wxMenu* CreateMenu();
    wxIcon applicationIcon;
    NotificationIcon *notification;

    // IDs & Labels
    static const int FileMenuQuitID;
    static const wxString FileMenuLabel;
    static const wxString FileMenuQuitLabel;
    static const wxString ApplicationIconFile;

private:
DECLARE_EVENT_TABLE()
};

#endif // MAINFRAMEH
